package com.chenyongjing.design.pattern.factory.method;

/**
 * 方法工厂，符合开闭原则
 */
public class MiniCarFactory implements CarFactory {
    @Override
    public Car getCar() {
        return new MiniCar();
    }
}
